<fieldset>
	<input type="text" value="test">
	<input type="range" value="2" min="1" max="5">
	<input type="checkbox" checked>
	<input type="checkbox">
	<input type="radio" name="test" value="1" checked>
	<input type="radio" name="test" value="2">
	<input type="button" value="test">
	<select>
		<option value="test 1" selected>test 1</option>
		<option value="test 2">test 2</option>
	</select>
	<select multiple>
		<option value="test 1" selected>test 1</option>
		<option value="test 2">test 2</option>
		<option value="test 3" selected>test 3</option>
		<option value="test 4">test 4</option>
	</select>
	<textarea>test</textarea>
	<button>test</button>
</fieldset>
<script type="text/javascript">
var input = document.getElementsByTagName("input");
input[0].value = "test test test";
input[1].value = 5;
input[2].checked = false;
input[3].checked = true;
input[4].checked = false;
input[5].checked = true;
input[6].value = "test test test";
var select = document.getElementsByTagName("select");
select[0].value = "test 2";
select[1].options[1].selected = true;
var textarea = document.getElementsByTagName("textarea");
textarea[0].value = "test 2";
var button = document.getElementsByTagName("button");
button[0].textContent = "test 2";
</script>